package org.neuedu.ssmp.crm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.neuedu.ssmp.crm.entity.CustomerContact;
import com.baomidou.mybatisplus.extension.service.IService;
import org.neuedu.ssmp.crm.entity.vo.ResponseEntity;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MoonHolder
 * @since 2019-12-09
 */
public interface ICustomerContactService extends IService<CustomerContact> {

    ResponseEntity add(CustomerContact contact);

    ResponseEntity del(int id);

    ResponseEntity edit(CustomerContact contact);

    IPage<CustomerContact> contactPage(int pageIndex, int pageSize, int customerId);
}
